package com.atguigu.gulimall.search.service;

import com.atguigu.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * ES商品保存接口
 * @author Angel
 * @email 11217304@gmail.com
 * @date 2021/8/21
 */
public interface ProductSaveService {
    /**
     * 商品上架
     * @param skuEsModels
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
